{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}D:\Dropbox\EffectPetition\JJPS\LeeKim_StataFiles\submission\LeeKim_Jjps_2024_petition.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}22 Apr 2024, 10:26:28
{txt}
{com}. use Dat, clear
{txt}
{com}. 
. //========================================
. //
. // Table 1: Summary Statistics
. //
. //========================================
. sum Action adopt adopt1 realize realize1 sponsor_yotou inside_lobby diet_lobby outside_lobby time gov_support gov_oppose

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}Action {c |}{res}        228    .4868421    .5009266          0          1
{txt}{space 7}adopt {c |}{res}        228    .3947368    .4444899          0          1
{txt}{space 6}adopt1 {c |}{res}        228    .3421053    .4754585          0          1
{txt}{space 5}realize {c |}{res}        227     .339207    .4114299          0          1
{txt}{space 4}realize1 {c |}{res}        227    .3127753    .4646483          0          1
{txt}{hline 13}{c +}{hline 57}
sponsor_yo~u {c |}{res}        228    .3157895    .4658522          0          1
{txt}inside_lobby {c |}{res}        219    .1872146    .3909774          0          1
{txt}{space 2}diet_lobby {c |}{res}        215    .1488372    .3567586          0          1
{txt}outside_lo~y {c |}{res}        217    .2534562    .4359956          0          1
{txt}{space 8}time {c |}{res}        228    2.004386    .5747844          1          3
{txt}{hline 13}{c +}{hline 57}
{space 1}gov_support {c |}{res}        228    .3070175    .4622716          0          1
{txt}{space 2}gov_oppose {c |}{res}        228    .4561404    .4991685          0          1
{txt}
{com}. 
. //========================================
. //
. // Digression: Defining overall ATE
. //
. //========================================
. local X ""
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store short_reg_v0
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store overall_by_margins
{txt}
{com}. 
. sum Action if realize1<999999

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}Action {c |}{res}        227    .4889868    .5009834          0          1
{txt}
{com}. local Eaction = r(mean)
{txt}
{com}. estimates res short_reg_v0
{txt}(results {stata estimates replay short_reg_v0:short_reg_v0} are active now)

{com}. lincom _b[1.adopt1] + _b[1.adopt1#1.Action]*`Eaction'

{p 0 7}{space 1}{text:( 1)}{space 1} {res}1.adopt1 + .4889868{res}*{res}1.adopt1#1.Action = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    realize1{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} .5943244{col 26}{space 2} .0718647{col 37}{space 1}    8.27{col 46}{space 3}0.000{col 54}{space 4} .4525448{col 67}{space 3} .7361041
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimates replay overall_by_margins

{txt}{hline}
{p 0 8}Model {hi:overall_by_margins}{p_end}
{hline}

{col 1}Average marginal effects{col 60}{lalign 13:Number of obs}{col 73} = {res}{ralign 3:227}
{txt}{col 1}Model VCE: {res:Robust}

{txt}{p2colset 1 13 13 2}{...}
{p2col:Expression:}{res:Linear prediction, predict()}{p_end}
{p2col:dy/dx wrt:}{res:1.adopt1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}      dy/dx{col 26}   std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}1.adopt1 {c |}{col 14}{res}{space 2} .5943244{col 26}{space 2} .0718647{col 37}{space 1}    8.27{col 46}{space 3}0.000{col 54}{space 4} .4525448{col 67}{space 3} .7361041
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 0 78}Note: dy/dx for factor levels is the discrete change from the base level.{txt}{p_end}

{com}. 
. // Therefore, overall impact is calculated by margins command
. // Action/NBR petition impacts are identified by beta_1 & (beta_1 + beta_3) respectively.
. 
. //========================================
. //
. // Table 2: Main Result
. //
. //========================================
. 
. local X ""
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder1
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_v0
{txt}
{com}. estimates res place_holder1
{txt}(results {stata estimates replay place_holder1:place_holder1} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_v0
{txt}
{com}. estimates res place_holder1
{txt}(results {stata estimates replay place_holder1:place_holder1} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_v0
{txt}
{com}. 
. local X "i.time sponsor_yotou"
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder2
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_yotou
{txt}
{com}. estimates res place_holder2
{txt}(results {stata estimates replay place_holder2:place_holder2} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_yotou
{txt}
{com}. estimates res place_holder2
{txt}(results {stata estimates replay place_holder2:place_holder2} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_yotou
{txt}
{com}. 
. local X "i.time inside_lobby diet_lobby outside_lobby"
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder3
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_lobby
{txt}
{com}. estimates res place_holder3
{txt}(results {stata estimates replay place_holder3:place_holder3} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_lobby
{txt}
{com}. estimates res place_holder3
{txt}(results {stata estimates replay place_holder3:place_holder3} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_lobby
{txt}
{com}. 
. local X "i.time sponsor_yotou inside_lobby diet_lobby outside_lobby"
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder4
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_v1
{txt}
{com}. estimates res place_holder4
{txt}(results {stata estimates replay place_holder4:place_holder4} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_v1
{txt}
{com}. estimates res place_holder4
{txt}(results {stata estimates replay place_holder4:place_holder4} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_v1
{txt}
{com}. 
. esttab ape_if_all_v0 ape_if_act_v0 ape_if_nbr_v0 ape_if_all_yotou ape_if_act_yotou ape_if_nbr_yotou, keep(1.adopt1) b(%8.3f) se(%8.3f) scalars(N) r2(%8.2f) star(* .1 ** .05 *** .01) mtitles title("Table2") noomit
{res}
{txt}Table2
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             ape_if_all~0    ape_if_act~0    ape_if_nbr~0    ape_if_all~u    ape_if_act~u    ape_if_nbr~u   
{txt}{hline 108}
{txt}1.adopt1    {res}        0.594***        0.566***        0.621***        0.594***        0.546***        0.640***{txt}
            {res} {ralign 12:{txt:(}0.072{txt:)}}    {ralign 12:{txt:(}0.083{txt:)}}    {ralign 12:{txt:(}0.103{txt:)}}    {ralign 12:{txt:(}0.079{txt:)}}    {ralign 12:{txt:(}0.093{txt:)}}    {ralign 12:{txt:(}0.103{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}          227             227             227             227             227             227   {txt}
{txt}R-sq        {res}                                                                                                {txt}
{txt}{hline 108}
{txt}Standard errors in parentheses
{txt}* p<.1, ** p<.05, *** p<.01

{com}. esttab ape_if_all_lobby ape_if_act_lobby ape_if_nbr_lobby ape_if_all_v1 ape_if_act_v1 ape_if_nbr_v1, keep(1.adopt1) b(%8.3f) se(%8.3f) scalars(N) r2(%8.2f) star(* .1 ** .05 *** .01) mtitles title("Table2") noomit
{res}
{txt}Table2
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             ape_if_all~y    ape_if_act~y    ape_if_nbr~y    ape_if_all~1    ape_if_act~1    ape_if_nbr~1   
{txt}{hline 108}
{txt}1.adopt1    {res}        0.604***        0.570***        0.639***        0.623***        0.590***        0.656***{txt}
            {res} {ralign 12:{txt:(}0.076{txt:)}}    {ralign 12:{txt:(}0.090{txt:)}}    {ralign 12:{txt:(}0.102{txt:)}}    {ralign 12:{txt:(}0.080{txt:)}}    {ralign 12:{txt:(}0.093{txt:)}}    {ralign 12:{txt:(}0.105{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}          212             212             212             212             212             212   {txt}
{txt}R-sq        {res}                                                                                                {txt}
{txt}{hline 108}
{txt}Standard errors in parentheses
{txt}* p<.1, ** p<.05, *** p<.01

{com}. esttab place_holder1 place_holder2 place_holder3 place_holder4, keep(1.adopt1 1.Action 1.adopt1#1.Action sponsor_yotou inside_lobby diet_lobby outside_lobby) b(%8.3f) se(%8.3f) scalars(N) r2(%8.2f) star(* .1 ** .05 *** .01) mtitles title("Table2") noomit
{res}
{txt}Table2
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             place_hold~1    place_hold~2    place_hold~3    place_hold~4   
{txt}{hline 76}
{txt}1.adopt1    {res}        0.621***        0.640***        0.639***        0.656***{txt}
            {res} {ralign 12:{txt:(}0.103{txt:)}}    {ralign 12:{txt:(}0.103{txt:)}}    {ralign 12:{txt:(}0.102{txt:)}}    {ralign 12:{txt:(}0.105{txt:)}}   {txt}

{txt}1.Action    {res}        0.091           0.100*          0.120*          0.118*  {txt}
            {res} {ralign 12:{txt:(}0.058{txt:)}}    {ralign 12:{txt:(}0.059{txt:)}}    {ralign 12:{txt:(}0.064{txt:)}}    {ralign 12:{txt:(}0.064{txt:)}}   {txt}

{txt}1.adopt1#1~n{res}       -0.055          -0.094          -0.068          -0.066   {txt}
            {res} {ralign 12:{txt:(}0.121{txt:)}}    {ralign 12:{txt:(}0.118{txt:)}}    {ralign 12:{txt:(}0.120{txt:)}}    {ralign 12:{txt:(}0.119{txt:)}}   {txt}

{txt}sponsor_yo~u{res}                       -0.062                          -0.054   {txt}
            {res}                 {ralign 12:{txt:(}0.070{txt:)}}                    {ralign 12:{txt:(}0.069{txt:)}}   {txt}

{txt}inside_lobby{res}                                        0.112           0.107   {txt}
            {res}                                 {ralign 12:{txt:(}0.078{txt:)}}    {ralign 12:{txt:(}0.078{txt:)}}   {txt}

{txt}diet_lobby  {res}                                       -0.010          -0.005   {txt}
            {res}                                 {ralign 12:{txt:(}0.068{txt:)}}    {ralign 12:{txt:(}0.068{txt:)}}   {txt}

{txt}outside_lo~y{res}                                       -0.044          -0.043   {txt}
            {res}                                 {ralign 12:{txt:(}0.060{txt:)}}    {ralign 12:{txt:(}0.059{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}          227             227             212             212   {txt}
{txt}R-sq        {res}         0.55            0.56            0.60            0.60   {txt}
{txt}{hline 76}
{txt}Standard errors in parentheses
{txt}* p<.1, ** p<.05, *** p<.01

{com}. 
. //========================================
. //
. // Table 3: Controlling Governor Variables
. //
. //========================================
. 
. local X "gov_support gov_oppose"
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder1
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_v0
{txt}
{com}. estimates res place_holder1
{txt}(results {stata estimates replay place_holder1:place_holder1} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_v0
{txt}
{com}. estimates res place_holder1
{txt}(results {stata estimates replay place_holder1:place_holder1} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_v0
{txt}
{com}. 
. local X "i.time sponsor_yotou gov_support gov_oppose"
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder2
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_yotou
{txt}
{com}. estimates res place_holder2
{txt}(results {stata estimates replay place_holder2:place_holder2} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_yotou
{txt}
{com}. estimates res place_holder2
{txt}(results {stata estimates replay place_holder2:place_holder2} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_yotou
{txt}
{com}. 
. local X "i.time inside_lobby diet_lobby outside_lobby gov_support gov_oppose"
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder3
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_lobby
{txt}
{com}. estimates res place_holder3
{txt}(results {stata estimates replay place_holder3:place_holder3} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_lobby
{txt}
{com}. estimates res place_holder3
{txt}(results {stata estimates replay place_holder3:place_holder3} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_lobby
{txt}
{com}. 
. local X "i.time sponsor_yotou inside_lobby diet_lobby outside_lobby gov_support gov_oppose"
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder4
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_v1
{txt}
{com}. estimates res place_holder4
{txt}(results {stata estimates replay place_holder4:place_holder4} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_v1
{txt}
{com}. estimates res place_holder4
{txt}(results {stata estimates replay place_holder4:place_holder4} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_v1
{txt}
{com}. 
. esttab ape_if_all_v0 ape_if_act_v0 ape_if_nbr_v0 ape_if_all_yotou ape_if_act_yotou ape_if_nbr_yotou, keep(1.adopt1) b(%8.3f) se(%8.3f) scalars(N) r2(%8.2f) star(* .1 ** .05 *** .01) mtitles title("Table3") noomit
{res}
{txt}Table3
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             ape_if_all~0    ape_if_act~0    ape_if_nbr~0    ape_if_all~u    ape_if_act~u    ape_if_nbr~u   
{txt}{hline 108}
{txt}1.adopt1    {res}        0.250***        0.239**         0.261**         0.243***        0.216**         0.269** {txt}
            {res} {ralign 12:{txt:(}0.089{txt:)}}    {ralign 12:{txt:(}0.095{txt:)}}    {ralign 12:{txt:(}0.112{txt:)}}    {ralign 12:{txt:(}0.088{txt:)}}    {ralign 12:{txt:(}0.095{txt:)}}    {ralign 12:{txt:(}0.108{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}          227             227             227             227             227             227   {txt}
{txt}R-sq        {res}                                                                                                {txt}
{txt}{hline 108}
{txt}Standard errors in parentheses
{txt}* p<.1, ** p<.05, *** p<.01

{com}. esttab ape_if_all_lobby ape_if_act_lobby ape_if_nbr_lobby ape_if_all_v1 ape_if_act_v1 ape_if_nbr_v1, keep(1.adopt1) b(%8.3f) se(%8.3f) scalars(N) r2(%8.2f) star(* .1 ** .05 *** .01) mtitles title("Table3") noomit
{res}
{txt}Table3
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             ape_if_all~y    ape_if_act~y    ape_if_nbr~y    ape_if_all~1    ape_if_act~1    ape_if_nbr~1   
{txt}{hline 108}
{txt}1.adopt1    {res}        0.269***        0.257***        0.280**         0.275***        0.264***        0.287** {txt}
            {res} {ralign 12:{txt:(}0.093{txt:)}}    {ralign 12:{txt:(}0.096{txt:)}}    {ralign 12:{txt:(}0.117{txt:)}}    {ralign 12:{txt:(}0.095{txt:)}}    {ralign 12:{txt:(}0.099{txt:)}}    {ralign 12:{txt:(}0.118{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}          212             212             212             212             212             212   {txt}
{txt}R-sq        {res}                                                                                                {txt}
{txt}{hline 108}
{txt}Standard errors in parentheses
{txt}* p<.1, ** p<.05, *** p<.01

{com}. esttab place_holder1 place_holder2 place_holder3 place_holder4, keep(1.adopt1 1.Action 1.adopt1#1.Action sponsor_yotou inside_lobby diet_lobby outside_lobby gov_support gov_oppose) b(%8.3f) se(%8.3f) scalars(N) r2(%8.2f) star(* .1 ** .05 *** .01) mtitles title("Table3") noomit
{res}
{txt}Table3
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             place_hold~1    place_hold~2    place_hold~3    place_hold~4   
{txt}{hline 76}
{txt}1.adopt1    {res}        0.261**         0.269**         0.280**         0.287** {txt}
            {res} {ralign 12:{txt:(}0.112{txt:)}}    {ralign 12:{txt:(}0.108{txt:)}}    {ralign 12:{txt:(}0.117{txt:)}}    {ralign 12:{txt:(}0.118{txt:)}}   {txt}

{txt}1.Action    {res}        0.093*          0.099**         0.103*          0.102*  {txt}
            {res} {ralign 12:{txt:(}0.047{txt:)}}    {ralign 12:{txt:(}0.049{txt:)}}    {ralign 12:{txt:(}0.054{txt:)}}    {ralign 12:{txt:(}0.054{txt:)}}   {txt}

{txt}1.adopt1#1~n{res}       -0.021          -0.053          -0.024          -0.023   {txt}
            {res} {ralign 12:{txt:(}0.106{txt:)}}    {ralign 12:{txt:(}0.103{txt:)}}    {ralign 12:{txt:(}0.106{txt:)}}    {ralign 12:{txt:(}0.107{txt:)}}   {txt}

{txt}gov_support {res}        0.546***        0.532***        0.496***        0.494***{txt}
            {res} {ralign 12:{txt:(}0.101{txt:)}}    {ralign 12:{txt:(}0.101{txt:)}}    {ralign 12:{txt:(}0.106{txt:)}}    {ralign 12:{txt:(}0.107{txt:)}}   {txt}

{txt}gov_oppose  {res}       -0.124**        -0.138**        -0.137**        -0.138** {txt}
            {res} {ralign 12:{txt:(}0.055{txt:)}}    {ralign 12:{txt:(}0.055{txt:)}}    {ralign 12:{txt:(}0.058{txt:)}}    {ralign 12:{txt:(}0.058{txt:)}}   {txt}

{txt}sponsor_yo~u{res}                       -0.029                          -0.017   {txt}
            {res}                 {ralign 12:{txt:(}0.056{txt:)}}                    {ralign 12:{txt:(}0.054{txt:)}}   {txt}

{txt}inside_lobby{res}                                        0.116*          0.114*  {txt}
            {res}                                 {ralign 12:{txt:(}0.061{txt:)}}    {ralign 12:{txt:(}0.060{txt:)}}   {txt}

{txt}diet_lobby  {res}                                       -0.024          -0.022   {txt}
            {res}                                 {ralign 12:{txt:(}0.063{txt:)}}    {ralign 12:{txt:(}0.062{txt:)}}   {txt}

{txt}outside_lo~y{res}                                       -0.043          -0.042   {txt}
            {res}                                 {ralign 12:{txt:(}0.052{txt:)}}    {ralign 12:{txt:(}0.052{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}          227             227             212             212   {txt}
{txt}R-sq        {res}         0.70            0.71            0.73            0.73   {txt}
{txt}{hline 76}
{txt}Standard errors in parentheses
{txt}* p<.1, ** p<.05, *** p<.01

{com}. 
. //========================================
. //
. // Appendix A.1.: Further Robustness Checks
. //
. //========================================
. preserve
{txt}
{com}. drop if pid==21 | pid==139 | pid==29 | pid==116 | pid==106| pid==167| pid==172 | pid==69 | pid==102 | pid==147| pid==220 | pid==184
{txt}(12 observations deleted)

{com}. 
. local X ""
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder1
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_v0
{txt}
{com}. estimates res place_holder1
{txt}(results {stata estimates replay place_holder1:place_holder1} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_v0
{txt}
{com}. estimates res place_holder1
{txt}(results {stata estimates replay place_holder1:place_holder1} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_v0
{txt}
{com}. 
. local X "i.time sponsor_yotou"
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder2
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_yotou
{txt}
{com}. estimates res place_holder2
{txt}(results {stata estimates replay place_holder2:place_holder2} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_yotou
{txt}
{com}. estimates res place_holder2
{txt}(results {stata estimates replay place_holder2:place_holder2} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_yotou
{txt}
{com}. 
. local X "i.time inside_lobby diet_lobby outside_lobby"
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder3
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_lobby
{txt}
{com}. estimates res place_holder3
{txt}(results {stata estimates replay place_holder3:place_holder3} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_lobby
{txt}
{com}. estimates res place_holder3
{txt}(results {stata estimates replay place_holder3:place_holder3} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_lobby
{txt}
{com}. 
. local X "i.time sponsor_yotou inside_lobby diet_lobby outside_lobby"
{txt}
{com}. qui areg realize1 i.adopt1##i.Action `X', absorb(rid) vce(r)
{txt}
{com}. estimates store place_holder4
{txt}
{com}. qui margins, dydx(1.adopt1) post
{txt}
{com}. estimates store ape_if_all_v1
{txt}
{com}. estimates res place_holder4
{txt}(results {stata estimates replay place_holder4:place_holder4} are active now)

{com}. qui margins, dydx(1.adopt1) at(1.Action==1) post
{txt}
{com}. estimates store ape_if_act_v1
{txt}
{com}. estimates res place_holder4
{txt}(results {stata estimates replay place_holder4:place_holder4} are active now)

{com}. qui margins, dydx(1.adopt1) at(0.Action==1) post
{txt}
{com}. estimates store ape_if_nbr_v1
{txt}
{com}. 
. esttab ape_if_all_v0 ape_if_act_v0 ape_if_nbr_v0 ape_if_all_yotou ape_if_act_yotou ape_if_nbr_yotou, keep(1.adopt1) b(%8.3f) se(%8.3f) scalars(N) r2(%8.2f) star(* .1 ** .05 *** .01) mtitles title("Table.A.1.") noomit
{res}
{txt}Table.A.1.
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             ape_if_all~0    ape_if_act~0    ape_if_nbr~0    ape_if_all~u    ape_if_act~u    ape_if_nbr~u   
{txt}{hline 108}
{txt}1.adopt1    {res}        0.678***        0.615***        0.736***        0.712***        0.646***        0.773***{txt}
            {res} {ralign 12:{txt:(}0.067{txt:)}}    {ralign 12:{txt:(}0.084{txt:)}}    {ralign 12:{txt:(}0.095{txt:)}}    {ralign 12:{txt:(}0.075{txt:)}}    {ralign 12:{txt:(}0.093{txt:)}}    {ralign 12:{txt:(}0.097{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}          215             215             215             215             215             215   {txt}
{txt}R-sq        {res}                                                                                                {txt}
{txt}{hline 108}
{txt}Standard errors in parentheses
{txt}* p<.1, ** p<.05, *** p<.01

{com}. esttab ape_if_all_lobby ape_if_act_lobby ape_if_nbr_lobby ape_if_all_v1 ape_if_act_v1 ape_if_nbr_v1, keep(1.adopt1) b(%8.3f) se(%8.3f) scalars(N) r2(%8.2f) star(* .1 ** .05 *** .01) mtitles title("Table.A.1.") noomit
{res}
{txt}Table.A.1.
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             ape_if_all~y    ape_if_act~y    ape_if_nbr~y    ape_if_all~1    ape_if_act~1    ape_if_nbr~1   
{txt}{hline 108}
{txt}1.adopt1    {res}        0.698***        0.649***        0.745***        0.734***        0.689***        0.778***{txt}
            {res} {ralign 12:{txt:(}0.072{txt:)}}    {ralign 12:{txt:(}0.092{txt:)}}    {ralign 12:{txt:(}0.097{txt:)}}    {ralign 12:{txt:(}0.074{txt:)}}    {ralign 12:{txt:(}0.094{txt:)}}    {ralign 12:{txt:(}0.097{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}          201             201             201             201             201             201   {txt}
{txt}R-sq        {res}                                                                                                {txt}
{txt}{hline 108}
{txt}Standard errors in parentheses
{txt}* p<.1, ** p<.05, *** p<.01

{com}. esttab place_holder1 place_holder2 place_holder3 place_holder4, keep(1.adopt1 1.Action 1.adopt1#1.Action sponsor_yotou inside_lobby diet_lobby outside_lobby) b(%8.3f) se(%8.3f) scalars(N) r2(%8.2f) star(* .1 ** .05 *** .01) mtitles title("Table.A.1.") noomit
{res}
{txt}Table.A.1.
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             place_hold~1    place_hold~2    place_hold~3    place_hold~4   
{txt}{hline 76}
{txt}1.adopt1    {res}        0.736***        0.773***        0.745***        0.778***{txt}
            {res} {ralign 12:{txt:(}0.095{txt:)}}    {ralign 12:{txt:(}0.097{txt:)}}    {ralign 12:{txt:(}0.097{txt:)}}    {ralign 12:{txt:(}0.097{txt:)}}   {txt}

{txt}1.Action    {res}        0.113**         0.113**         0.141**         0.138** {txt}
            {res} {ralign 12:{txt:(}0.055{txt:)}}    {ralign 12:{txt:(}0.057{txt:)}}    {ralign 12:{txt:(}0.063{txt:)}}    {ralign 12:{txt:(}0.063{txt:)}}   {txt}

{txt}1.adopt1#1~n{res}       -0.121          -0.127          -0.096          -0.089   {txt}
            {res} {ralign 12:{txt:(}0.120{txt:)}}    {ralign 12:{txt:(}0.117{txt:)}}    {ralign 12:{txt:(}0.121{txt:)}}    {ralign 12:{txt:(}0.121{txt:)}}   {txt}

{txt}sponsor_yo~u{res}                       -0.113                          -0.089   {txt}
            {res}                 {ralign 12:{txt:(}0.070{txt:)}}                    {ralign 12:{txt:(}0.069{txt:)}}   {txt}

{txt}inside_lobby{res}                                        0.063           0.055   {txt}
            {res}                                 {ralign 12:{txt:(}0.078{txt:)}}    {ralign 12:{txt:(}0.077{txt:)}}   {txt}

{txt}diet_lobby  {res}                                       -0.028          -0.024   {txt}
            {res}                                 {ralign 12:{txt:(}0.069{txt:)}}    {ralign 12:{txt:(}0.067{txt:)}}   {txt}

{txt}outside_lo~y{res}                                        0.004           0.006   {txt}
            {res}                                 {ralign 12:{txt:(}0.057{txt:)}}    {ralign 12:{txt:(}0.057{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}          215             215             201             201   {txt}
{txt}R-sq        {res}         0.63            0.63            0.66            0.67   {txt}
{txt}{hline 76}
{txt}Standard errors in parentheses
{txt}* p<.1, ** p<.05, *** p<.01

{com}. 
. restore
{txt}
{com}. 
. 
. 
. 
. cap log close
{smcl}
{com}{sf}{ul off}